﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace TyMES.Model.Record
{
    [Table("T_CodeStore")]
    public class CodeStore : BasePoco
    {
        [Display(Name = "条码值")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string Codevalue { get; set; }
        [Display(Name = "条码类型名称")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string CodeTypeName { get; set; }
        [Display(Name = "所属工单")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string orderCode { get; set; }
        [Display(Name = "所属排程")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string schduleCode { get; set; }
        [Display(Name = "是否启用")]
        public bool enable { get; set; }

    }
}

